/**
 * 
 */
package com.aqarat.service;

import javax.inject.Inject;

import com.administration.entity.Access;
import com.aqarat.dao.AqaratDAO;
import com.aqarat.dao.AqaratDAOImpl;
import com.aqarat.entity.Building;
import com.core.transaction.Transactional;

/**
 * @author karimsherif
 *
 */
public class AqaratServiceImpl implements AqaratService{

//	@Inject AqaratDAO aqaratDAO;
	 AqaratDAO aqaratDAO=new AqaratDAOImpl();
	
//	@Transactional
	public void addBuilding(Building building) {
		aqaratDAO.addBuilding(building);
	}
//	@Transactional
	public void addAccess(Access a) {
		aqaratDAO.addAccess(a);
	}

}
